package com.zy.algorithm.sort.shellsort;

import com.zy.algorithm.sort.SortUtils;
import com.zy.algorithm.curtain.IScreenBean;

import java.util.List;

public class ShellInsertionSortV2Fragment extends ShellInsertionSortBaseFragment {

    @Override
    protected List<IScreenBean> getScreenBeanList() {
        int[] array = {5, 11, 22, 33, 44, 55, 66, 77, 88, 99};
        return SortUtils.shellSortScreenV2(array);
    }

    private static final String title = "希尔排序";
    private static final String enterTitle = "希尔排序\n遇到\n顺序数组";
    private static final String dataDes = "顺序数组";

    @Override
    protected String getDataDes() {
        return dataDes;
    }

    @Override
    protected String getTitle() {
        return title;
    }

    @Override
    protected String getEnterTitle() {
        return enterTitle;
    }
}
